#include <stdio.h>
#define PI 3.1415926535897932384626f
int main()
{
	float x,y;
	int n,i;
	scanf("%d\n",&n);
	for(i=1;i<=n;i++)
	{
		scanf("%f %f",&x,&y);
		printf("Property %d: This property will begin eroding in year %d.\n",i,(int)((x*x+y*y)*PI/100)+1);
	}
	printf("END OF OUTPUT.\n");
	return 0;
}
